package ginHttp

import (
	"github.com/gin-gonic/gin"
)

func sayHello(connect *gin.Context) {
	connect.JSON(200, gin.H{
		"message": "hello gin html",
	})
}

func Start() {
	engine := gin.Default()

	engine.GET("/", sayHello)

	engine.Run(":8090")
}
